package com.example.aicodehelper.ai;

import dev.langchain4j.service.SystemMessage;
import org.springframework.stereotype.Service;

import java.util.List;


public interface AiCodeHelperService {
    @SystemMessage(fromResource = "system-prompt.txt")
    String chat(String userMessage);

    @SystemMessage(fromResource = "system-prompt.txt")
    Report chatForReport(String userMessage);

    // record构造 学习报告 类（java新特性）
    record Report(String name, List<String> suggestionList) {
    }
}
